package com.sitech.portal.bigScreen.domain;

import com.sitech.portal.bigScreen.form.TbScreenLogicalForm;

/**
 * Created by Administrator on 2015/4/22.
 */
public class TbScreenLogical {
    private String LOGICAL_SCREEN_ID;
    private String LOGICAL_SCREEN_NAME;
    private String SWITCH_ANIMATION;
    private String SHOW_SECONDS;
    private String LAYOUT;

    public String getLOGICAL_SCREEN_ID() {
        return LOGICAL_SCREEN_ID;
    }

    public void setLOGICAL_SCREEN_ID(String LOGICAL_SCREEN_ID) {
        this.LOGICAL_SCREEN_ID = LOGICAL_SCREEN_ID;
    }

    public String getLOGICAL_SCREEN_NAME() {
        return LOGICAL_SCREEN_NAME;
    }

    public void setLOGICAL_SCREEN_NAME(String LOGICAL_SCREEN_NAME) {
        this.LOGICAL_SCREEN_NAME = LOGICAL_SCREEN_NAME;
    }

    public String getSWITCH_ANIMATION() {
        return SWITCH_ANIMATION;
    }

    public void setSWITCH_ANIMATION(String SWITCH_ANIMATION) {
        this.SWITCH_ANIMATION = SWITCH_ANIMATION;
    }

    public String getSHOW_SECONDS() {
        return SHOW_SECONDS;
    }

    public void setSHOW_SECONDS(String SHOW_SECONDS) {
        this.SHOW_SECONDS = SHOW_SECONDS;
    }

    public String getLAYOUT() {
        return LAYOUT;
    }

    public void setLAYOUT(String LAYOUT) {
        this.LAYOUT = LAYOUT;
    }

    public TbScreenLogicalForm toForm(){
        TbScreenLogicalForm tbScreenLogicalForm = new TbScreenLogicalForm();
        tbScreenLogicalForm.setLayout(LAYOUT);
        tbScreenLogicalForm.setLogicalScreenId(LOGICAL_SCREEN_ID);
        tbScreenLogicalForm.setLogicalScreenName(LOGICAL_SCREEN_NAME);
        tbScreenLogicalForm.setShowSeconds(SHOW_SECONDS);
        tbScreenLogicalForm.setSwitchAnimation(SWITCH_ANIMATION);
        return  tbScreenLogicalForm;
    }
}
